package java_class_work.week08.demo02;

/**
 * @Author Tiam
 * @Date 2022/10/31 11:25
 * @Description:
 */
public class Producer implements Runnable{
    private Box box;
    public Producer(Box box) {
        this.box = box;
    }

    @Override
    public void run() {
        box.addProduct();
    }
}
